var verify_retail_expDate = JSON.parse('{"CODE":0, "ACTION":"","LEVEL":"T1", "MSG":"","DATA":"","SCRIPTNAME":"verify_retail_expDate"}');
//价格结束日期必须晚于价格生效日期
if (!isNull(retail_end_date)) {
    if (isNull(retail_start_date)) {
        verify_retail_expDate.CODE = 2;
        verify_retail_expDate.ACTION = 'risk';
        verify_retail_expDate.MSG = '错误:价格开始日期未填写';
    } else if (compareTimes(retail_end_date, retail_start_date) !== 1) {
        verify_retail_expDate.CODE = 2;
        verify_retail_expDate.ACTION = 'risk';
        verify_retail_expDate.MSG = '错误:价格结束日期必须晚于价格生效日期';
    }
}


JSON.stringify(verify_retail_expDate);